Skip to content

Support on-demand content in repair_metadata #848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jobselko
Copy link
Contributor

@jobselko jobselko commented May 11, 2025

This PR extends the repair_metadata endpoint for repositories to also support on-demand content if the associated remote supports the PyPI json version API.

For on-demand content, we expect that:

  1. PythonPackageContent always has correct name and version, and one ContentArtifact
  2. RemoteArtifact always has correct sha256

Closes #849

@jobselko jobselko self-assigned this May 11, 2025
@jobselko jobselko force-pushed the repair_on_demand_content branch 4 times, most recently from fc1102d to 99180e4 Compare May 16, 2025 18:54
@jobselko jobselko force-pushed the repair_on_demand_content branch 8 times, most recently from 9e27aaf to 04c2e4f Compare May 22, 2025 11:33
@jobselko jobselko force-pushed the repair_on_demand_content branch 2 times, most recently from 9875d50 to 925e392 Compare May 22, 2025 11:38
@jobselko jobselko changed the title DRAFT: Add on_demand content to repair_metadata Support on-demand content in repair_metadata May 22, 2025
@jobselko jobselko marked this pull request as ready for review May 22, 2025 11:59
@jobselko jobselko requested a review from gerrod3 May 22, 2025 12:25
@jobselko jobselko force-pushed the repair_on_demand_content branch 2 times, most recently from 2b14e83 to 79d7acf Compare May 22, 2025 12:51
@jobselko jobselko force-pushed the repair_on_demand_content branch from 79d7acf to b2b74fa Compare May 22, 2025 12:53
@github-actions github-actions bot removed the no-issue label May 22, 2025
@jobselko jobselko force-pushed the repair_on_demand_content branch 2 times, most recently from 42e9834 to 0b91e31 Compare May 22, 2025 13:42
@jobselko jobselko marked this pull request as draft May 22, 2025 18:03
@jobselko jobselko force-pushed the repair_on_demand_content branch from 0b91e31 to 7c3cb5c Compare May 25, 2025 20:40
@jobselko jobselko force-pushed the repair_on_demand_content branch from 7c3cb5c to 95f6e5f Compare May 25, 2025 21:44
@jobselko jobselko marked this pull request as ready for review May 26, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support on-demand content in repair_metadata endpoint
1 participant